package com.fire.converter;

import com.fire.api.dto.MerchantDTO;
import com.fire.vo.MerchantDetailVO;
import com.fire.vo.MerchantRegisterVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 将VO商户注册转换为dto
 */
@Mapper
public interface MerchantDetailConverter {
    MerchantDetailConverter instance = Mappers.getMapper(MerchantDetailConverter.class);
//  将vo-->Dto
    public MerchantDTO MerchantDetailVO2MerchantDto(MerchantDetailVO merchantDetailVO);
//  将Dto---->VO
    public MerchantDetailVO MerchantDto2MerchantDetailVO(MerchantDTO merchantDTO);

}
